.subbanner {
    height: 300px;

    .inner {
        width: 100%;
        height: 100%;
        background: url(../images/blank.gif) center center no-repeat;
        background-size: cover;
    }
}

.sidecolumn {
    width: 296px;
    flex: 0 0 auto;

    .card {
        border: 0;
        border-radius: 3px;
    }

    .card-header {
        border: 0;
        font-weight: bold;
        background: #009dac;
        color: #fff;

        &::before {
            content: " ";
            width: 3px;
            height: 16px;
            margin-top: 4px;
            background: #fff;
            border-radius: 2px;
            float: left;
            margin-right: 8px;
        }
    }

    .card-body {
        background: #fff;
        border-bottom-left-radius: 3px;
        border-bottom-right-radius: 3px;
    }

    .list-side {
        a {
            display: block;
            padding: 10px 8px;
            line-height: 1.2em;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            width: 100%;
            border-bottom: 1px #d5d5d5 dashed;

            &.active {
                color: #009dac;
            }
        }
    }
}

.breadcrumb-box {
    background-color: #e9ecef;

    .breadcrumb-item + .breadcrumb-item::before {
        content: ">";
    }

    .float-right {
        line-height: 48px;
        opacity: .8;
    }
}

.list-body {
    padding-top: 2rem;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    background: @color-white;
    border-radius: 10px;
}

.article-list {
    margin: 0;
    background: #fff;
    padding: 1rem;

    .card{
        border-bottom:1px #e9ecef dashed !important;
        .col-img{
            width: 200px;
            flex: 0 0 auto;
        }
        .card-text{
            color: #999;
        }
        .card-description{
            overflow: hidden;
            display:-webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient:vertical;
            text-overflow: ellipsis;
        }
    }
    .col-6 {
        padding: 0 30px;
        margin-bottom: 2rem;
    }
}

.case-list {
    .card {
        border: 0;
        box-shadow: 1px 1px 4px 2px rgba(0, 0, 0, 0.2);

        .card-img-overlay {
            text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
            transition: background-color linear .5s;

            &:hover {
                background: rgba(0, 0, 0, 0.2);
            }
        }

        a {
            color: #fff;
            text-decoration: none;
        }
    }

    .bd-placeholder-img {
        font-size: 1.125rem;
        text-anchor: middle;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }

    .bd-placeholder-img-lg {
        font-size: 3.5rem;
    }
}

.view-body {
    padding-top: 2rem;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    background: @color-white;
}

.article-body {
    padding: 20px;
    margin-bottom: 2rem;
    background: #fff;

    .article-title {
        text-align: center;
        font-size: 24px;
        font-weight: bold;
    }

    .article-info {
        width: 60%;
        font-size: 0.8rem;
        margin: 0 auto;
        margin-top: 1em;
        padding-bottom: .5em;
        border-bottom: 1px #eee solid;
    }

    .article-content {
        margin-top: 2em;
        min-height: 500px;
        line-height: 1.6;

        img {
            max-width: 100%;
        }
    }

    .article-slides {
        height: 450px;

        .carousel, .carousel-inner, .carousel-item {
            height: 100%;
            overflow: hidden;
        }

        .carousel-item {
            background: center center no-repeat;
            background-size: contain;

            img {
                display: none;
            }
        }

        & + .article-content {
            min-height: 200px;
        }
    }
}

@media (max-width: 991px) {
    .subbanner {
        height: 120px;
    }

    .list-body, .view-body {
        .sidecolumn {
            display: none;
        }
    }

    .article-body {
        .article-info {
            width: 95%;
        }
    }
}

@media (max-width: 480px) {
    .subbanner {
        height: 80px;
    }

    .article-list {
        .list-group-item {
            flex-wrap: wrap;

            .list-img {
                width: 100%;
                padding-top: 60%;
            }
        }
    }
}
